<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">

<head>
	<meta charset="utf-8">
	<title>成功</title>
	<script type="application/javascript" src="/static/js/common.js"></script>
</head>
<body>
	<div class="app-content no-title">
		<div class="weui-msg">
			<div class="weui-msg__icon-area"><i class="weui-icon-success weui-icon_msg"></i></div>
			<div class="weui-msg__text-area">
				<h2 class="weui-msg__title">操作成功</h2>
				<p class="weui-msg__desc"></p>
			</div>
			<div class="weui-form-preview" th:if="${book} != null">
				<div class="weui-form-preview__hd">
					<label class="weui-form-preview__label">消费金额</label>
					<em class="weui-form-preview__value" >¥[[${book.getConsumePrice()}]]</em>
				</div>
				<div class="weui-form-preview__bd">
					<div class="weui-form-preview__item">
						<label class="weui-form-preview__label">消费名称</label>
						<span class="weui-form-preview__value" th:text="${book.getConsumeName()}"></span>
					</div>
					<div class="weui-form-preview__item">
						<label class="weui-form-preview__label">消费所有者</label>
						<span class="weui-form-preview__value" th:text="${owner.getUserName()}"></span>
					</div>
					<div class="weui-form-preview__item">
						<label class="weui-form-preview__label">消费参与者</label>
						<span class="weui-form-preview__value">
                            <span style="margin-left: 5px;" th:each="ac:${accounts}" th:text="${ac.getUserName()}"></span>
                        </span>
					</div>
				</div>
			</div>
			<div class="weui-msg__opr-area">
				<p class="weui-btn-area">
					<a href="/book/add" class="weui-btn weui-btn_primary">继续录入</a>
					<a href="/index" class="weui-btn weui-btn_default">录入完成</a>
				</p>
			</div>
		</div>
	</div>
</body>
</html>
